package edu.hit.pact.pgse.communication.message;


import java.util.*;

import edu.hit.pact.pgse.bean.*;

public class CrawlerStorePushMessage implements Message{
	int type;
	List<RawWebPage> pages= new ArrayList<RawWebPage>();
	
	public CrawlerStorePushMessage(int type, List<RawWebPage> pages) {
		super();
		this.type = type;
		this.pages = pages;
	}
	
	public CrawlerStorePushMessage(List<RawWebPage> pages) {
		super();
		this.type = Types.CRAWEL_STORE_PUSH;
		this.pages = pages;
	}
	
	public int getType() {
		return type;
	}
	
	public void setType(int type) {
		this.type = type;
	}
	
	public List<RawWebPage> getPages() {
		return pages;
	}
	
	public void setPages(List<RawWebPage> pages) {
		this.pages = pages;
	}
}
